FROM nginx:latest

MAINTAINER JustinLie wangjing@aggrx.com

# 1. set timezone
ENV TIME_ZONE=Asia/Shanghai
RUN ln -sf /usr/share/zoneinfo/$TIME_ZONE /etc/localtime && echo $TIME_ZONE > /etc/timezone

# 2. 暴露端口号
EXPOSE 80
ENTRYPOINT nginx -g "daemon off;"
